package com.wmd.core.util;

/**
 * 类说明
 * 
 * @author yincheng lu
 * @time 2019年9月19日下午6:09:10
 * @Description
 */
public enum JoinType {
	COMMA(","), //
	JOIN("JOIN"), //
	INNER_JOIN("INNER JOIN"), //
	CROSS_JOIN("CROSS JOIN"), //
	NATURAL_JOIN("NATURAL JOIN"), //
	NATURAL_INNER_JOIN("NATURAL INNER JOIN"), //
	LEFT_OUTER_JOIN("LEFT JOIN"), //
	RIGHT_OUTER_JOIN("RIGHT JOIN"), //
	FULL_OUTER_JOIN("FULL JOIN"), //
	STRAIGHT_JOIN("STRAIGHT_JOIN"), //
	OUTER_APPLY("OUTER APPLY"), //
	CROSS_APPLY("CROSS APPLY");

	public final String name;
	public final String name_lcase;

	JoinType(String name) {
		this.name = name;
		this.name_lcase = name.toLowerCase();
	}

	public static String toString(JoinType joinType) {
		return joinType.name;
	}
}
